//
//  TKTableHeaderView.h
//  TableGridDemo
//
//  Created by 吳瀾洲 on 2020/8/21.
//  Copyright © 2020 kingboyrang. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

//枚举加位操作
typedef NS_ENUM(NSInteger,LineDirectionType) {
    LineDirectionTypeNone   = 0,
    LineDirectionTypeAll    = 1<<0,
    LineDirectionTypeLeft   = 1<<1,
    LineDirectionTypeRight  = 1<<2,
    LineDirectionTypeBottom = 1<<3,
    LineDirectionTypeTop    = 1<<4
};

@interface TKTableTDView : UIView

@property (nonatomic,assign) BOOL showMiddleLineBox; //是否显示中间线框
@property (nonatomic,assign) LineDirectionType direction; //线条方面
@property (nonatomic,strong) UIColor *lineColor; //线条颜色
@property (nonatomic,strong) UIColor *textColor; //线条颜色
@property (nonatomic,assign) NSTextAlignment textAlignment; //文字对齐方式
@property (nonatomic,strong) UIFont *textFont; //文字字体
@property (nonatomic,strong) NSArray<NSString *> *titles; //表头标题
@property (nonatomic,copy) UIView* (^TKLabelCotrolBlock)(UILabel *label,NSString *title,CGRect rect); //控件创建block

//初始化操作
- (instancetype)initWithTitiles:(NSArray<NSString *> *)titles frame:(CGRect)frame;


@end

NS_ASSUME_NONNULL_END
